package cn.edu.zut.score.mapper;

import cn.edu.zut.score.core.entity.Info;
import cn.edu.zut.score.core.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zby
 * @since 2021-06-25
 */
public interface UserMapper extends BaseMapper<User> {

    List<Info> queryUserNamesByIds(List<Long> ids);

    List<Info> queryAllUsersByRole(Integer role);
}
